package com.atguigu.gmall.pay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Return
 * @Author https://weiranyi.github.io
 * @Date Created in 2022-12-23 16:35
 **/
@Data
@ConfigurationProperties(prefix = "app.alipay")
public class AlipayProperties {
    private String appId; //appId
    private String merchantPrivateKey; //商户私钥
    private String alipayPublicKey; //支付宝公钥
    private String notifyUrl; //异步通知地址
    private String returnUrl; //同步跳转地址
    private String signType; //签名方式
    private String charset; //字符集
    private String gatewayUrl; //支付宝网关
}
